<div id="middle">
    <div class="rounded linea">
        <div class="borde" style="background-color:#fff; padding:5px;">
            <h1><?=$this->modelo_ec->get_nombre_categoria_bn($categoria);
                echo $this->modelo_ec->category_name;
                ?>
            </h1>

        </div>
    </div>
    <div class="rounded linea">
        <div class="borde" style="background-color:#fff; padding:5px">
            <a href="<?=base_url();?>index.php/admin/categorias/sub_categoria/0/<?=$categoria?>">Crear producto</a>
            <table class="contentpaneopen">
                <tr>
                    <td valign="top" colspan="2">
                        <div>
                            <table cellspacing="0" cellpadding="0" border="0" width="590">
                                <tr>
                                    <td>
                                        <table border="0" width="100%">
                                            <tr>
                                                <td>
                                                    <table border="0" width="100%">
                                                        <tr>
                                                            <td class="categoria_diseno1">CODIGO</td>
                                                            <td class="categoria_diseno1">DESCRIPCION</td>
                                                            <td class="categoria_diseno1">PRECIO</td>
                                                            <td class="categoria_diseno1"></td>
                                                        </tr>
                                                        <?php
                                                        foreach ($consulta->result() as $row):?>
                                                            <?php
                                                            $this->modelo_ec->get_articulo($row->product_id);

                                                            $fondo="productos_lista_diseno1_color1";
                                                            ?>
                                                        <tr>
                                                            <td class="<?=$fondo?>" style="margin-left: 16px; width: 63px;">
                                                                <a href="<?=base_url();?>index.php/admin/categorias/sub_categoria/<?=$this->modelo_ec->product_id?>/<?=$categoria?>"><?=$this->modelo_ec->product_sku?></a>
                                                            </td>
                                                            <td class="<?=$fondo?>" style="margin-left: 5px; text-align: left; width: 377px;">
                                                                <a href="#" tabindex="-1" style="color: rgb(0, 0, 0);"><?=$this->modelo_ec->product_name?></a>
                                                            </td>
                                                            <td class="<?=$fondo?>" style="margin-left: 5px; width: 64px;"><?=$this->modelo_ec->product_price?></td>
                                                            <td class="<?=$fondo?>" style="margin-left: 5px; width: 53px;" height="30">
                                                            </td>
                                                        </tr>
                                                        <?php
                                                        endforeach;?>
                                                        <tr>
                                                            <td colspan="3" class="categoria_diseno1">
                                                            </td>
                                                            <td class="categoria_diseno1">
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>